package org.will.ftppool;

/**
 * 根据指定的ftpcontenttype类型获取不同格式的ftp资源
 */
public class FTPContent {
    private FTPContentType type;
    private byte[] bytes;
    private String str;

    public FTPContentType getType() {
        return type;
    }

    public void setType(FTPContentType type) {
        this.type = type;
    }

    public byte[] getBytes() {
        return bytes;
    }

    public void setBytes(byte[] bytes) {
        this.bytes = bytes;
    }

    public String getStr() {
        return str;
    }

    public void setStr(String str) {
        this.str = str;
    }

    public enum FTPContentType{
        STR,BYTE
    }
}


